package com.favccxx.marketplace.order.service;

import com.favccxx.marketplace.order.domain.order.dto.OrderDTO;
import com.favccxx.marketplace.order.entity.Order;

import java.util.List;

public interface OrderService {

    /**
     * 创建订单
     *
     * @param orderDTO 订单处理对象
     * @return
     */
    String placeOrder(OrderDTO orderDTO);

    List<Order> getOrder();

}
